module("NetWork.Action.ExitGroupSmAction", package.seeall)

local NetCmdActionBase = require("NetWork.Action").NetCmdActionBase

ExitGroupSmAction = NetCmdActionBase:new()

function ExitGroupSmAction:Action(bytes)
    local ExitGroupSm = require("Protol.groupMessage_pb").ExitGroupSm()
    ExitGroupSm:ParseFromString(bytes)
    
    local ClubModule = require("Module.ClubModule").ClubModule
    ClubModule.ExitGroupSm(ExitGroupSm)
end

require("NetWork.NetCmdSet").CmdSet[2004] = ExitGroupSmAction --注册处理对象